﻿namespace Warehouse.Api.Write.Dto
{
    public class StockingDtos
    {
        /// <summary>
        /// 入库单类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        ///入库关联订单
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 供应商订单编号 需要获取供应商信息
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 订单编号 需要获取订购的信息
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 供应商名称 根据供应商编号反填
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 供应商联系方式 根据供应商编号反填
        /// </summary>
        public string SupplierPhone { get; set; }
        /// <summary>
        /// 产品Id·需要获取产品信息
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 批次Id
        /// </summary>
        public string Bacth { get; set; }
        /// <summary>
        /// 库位Id
        /// </summary>
        public int StorageId { get; set; }
        /// <summary>
        /// 商品单价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int IncomingQuantity { get; set; }
        /// <summary>
        /// 总价格
        /// </summary>
        public int Totalprice { get; set; }
        /// <summary>
        /// 制单人 根据登录人反填
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 审批状态需要枚举
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 审批人
        /// </summary>
        public string StateName { get; set; }
        /// <summary>
        /// 用来判断是1出库还是2入库
        /// </summary>
        public int StateRc { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        public int ManufacturerCode { get; set; }
        /// <summary>
        /// 供应商联系人
        /// </summary>
        public string? SupplierContacts { get; set; }
    }
}
